namespace local = ""
namespace inh = inherit

start = element library { book-element+ }

author-element = 
   element author
   {
      attribute id { text },
      name-element,
      born-element,
      dead-element?
   }

book-content &= 
   attribute id { text },
   attribute available { text },
   isbn-element,
   title-element,
   author-element*,
   character-element*

book-element = element book { book-content }

born-element = element born { text }

character-element = 
   element character
   {
      attribute id { text },
      name-element,
      born-element,
      qualification-element
   }

dead-element = element dead { text }

isbn-element |= notAllowed

isbn-element = element isbn { text }

name-element = element name { text }

qualification-element = element qualification { text }

title-element = element title { attribute xml:lang { text }, text }
